package com.example.music.service;

import com.example.music.domain.Product;

import java.util.List;

public interface IProductService {
    public List<Product> getProducts();
    public List<Product> selectProductByName(String name);
    public Product selectProductById(Long id);
    public int insertProduct(Product product);
    public int updateProduct(Product product);
    public int deleteProductById(Long id);
}
